﻿ 
KindEditor.ready(function (K) {
    var seting = {
        themeType: "simple",
        resizeType: 1,
        syncType: "",
        allowPreviewEmoticons: false,
        items: [
            'source', 'undo', 'redo', 'plainpaste',  'wordpaste', 'clearhtml', 'quickformat', 'selectall', 'fullscreen', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'hr','removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
            'insertunorderedlist', '|', 'link', 'image', 'emoticons', 'unlink', 'baidumap'],
        allowFileManager: true,
        afterCreate: function () {
            this.sync();
        },
        afterBlur: function () {
            this.sync();
        },
        filterMode:false,
        allowFileManager: true,
        allowFlashUpload: false,
        allowMediaUpload: false,
        allowFileUpload: false
    }
    var editor1 = K.create('.kindEditors', seting);

});
 